package org.teremail.panto.perf;

import java.io.IOException;
import java.io.InputStream;

import org.apache.james.mime4j.descriptor.BodyDescriptor;
import org.apache.james.mime4j.parser.ContentHandler;
import org.apache.james.mime4j.parser.Field;


public class Mime4JContentHandler implements ContentHandler {

    public void body(BodyDescriptor arg0, InputStream arg1) throws IOException {
        PerformanceTestCase.count(arg1);
    }

    public void endBodyPart() {
        // TODO Auto-generated method stub

    }

    public void endHeader() {
        // TODO Auto-generated method stub

    }

    public void endMessage() {
        // TODO Auto-generated method stub

    }

    public void endMultipart() {
        // TODO Auto-generated method stub

    }

    public void epilogue(InputStream arg0) throws IOException {
        PerformanceTestCase.count(arg0);
    }

    public void field(Field arg0) {
        // TODO Auto-generated method stub

    }

    public void preamble(InputStream arg0) throws IOException {
        PerformanceTestCase.count(arg0);
    }

    public void raw(InputStream arg0) throws IOException {
        // TODO Auto-generated method stub

    }

    public void startBodyPart() {
        // TODO Auto-generated method stub

    }

    public void startHeader() {
        // TODO Auto-generated method stub

    }

    public void startMessage() {
        // TODO Auto-generated method stub

    }

    public void startMultipart(BodyDescriptor arg0) {
        // TODO Auto-generated method stub

    }

}
